﻿namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 评论dto
    /// </summary>
    public class CommentDto
    {
        /// <summary>
        /// ID
        /// </summary>
        public Guid ID { get; set; }

        /// <summary>
        /// 父评论ID
        /// </summary>
        public Guid? ParentCommentId { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public Guid UserId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTimeOffset? CreateTime { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>
        public string? UserName { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string? HeadUrl { get; set; }

        /// <summary>
        /// 是否包含子评论
        /// </summary>
        public bool IsHaveSubComment { get; set; }
    }
}
